<?php

namespace app\api\controller;

use app\common\controller\Api;
use app\admin\model\Admin;

class Adminapi extends Api
{

    protected $userId;

    /**
     * 我的信息
     */
    public function admininfo()
    {
        $admin = new Admin();
        $user= $admin->getInfo($this->userId,null,null )[0];
        $this->success('请求成功!!!',$user);
    }



}
